export interface ListResult {
  list: Array<ListModel>;
}
export interface ListModel {
  adminName: string;
  amount: string;
  contractType: number;
  index: number;
  name: string;
  no: string;
  paymentType: number;
  status: number;
  updateTime: Date;
}

export interface CardListResult {
  list: Array<CardList>;
}
export interface CardList {
  name: string;
  type: string;
  id: number;
  img: string;
}

// 用于商城用户主页
export interface ProductCardList {
  Id: number;
  type: string;
  img: string;
  price: number;
  describe: string;
}

export interface ProductDetail {
  id: string;
  name: string;
  price: string;
  img: string;
  type: number;
  describe: string;
  rest: number;
  isOnShelf: boolean;
}

export interface ServiceDetail {
  id: string;
  name: string;
  price: string;
  rest: number;
  img: string;
  type: number;
  describe: string;
  isOnShelf: boolean;
}

export interface GoodsListResult {
  list: Array<GoodsResult>;
}

export interface GoodsResult {
  id: number;
  name: string;
  price: number;
  img: string;
  type: string;
  describe: string;
  isOnShelf: boolean;
}

export interface newItem {
  name: string;
  price: number;
  img: string;
  describe: string;
  isOnShelf: boolean;
  rest: number;
}

export interface newService {
  name: string;
  price: number;
  img: string;
  describe: string;
  isOnShelf: boolean;
}

export interface OrderListResult {
  list: Array<OrderList>;
}

export interface OrderList {
  id: number;
  name: string;
  status: number;
  time: Date;
}

export interface OrderDetail {
  id: number;
  time: string;
  userID: number;
  goodsID: number;
  number: number;
  status: number;
}
